package com.itheima.pinda.mapstruct;

import com.itheima.pinda.DTO.base.GoodsTypeDto;
import com.itheima.pinda.entity.PdGoodsType;
import org.mapstruct.Builder;
import org.mapstruct.Mapper;

/**
 * @author llhuang10
 * @date 2021/9/30 17:01
 */
@Mapper(builder = @Builder(disableBuilder = true), uses = {MyStringLongMapper.class})
public interface GoodsDTO2Entity {


    PdGoodsType conver(GoodsTypeDto dto);


    GoodsTypeDto conver(PdGoodsType pdGoodsType);
}
